﻿@page "/datagrid-crosstab"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>crosstab</strong> data support
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Sometimes your data comes from crosstab queries and you need to present rows as columns.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo a crosstab query groups Orders by <strong>Year</strong> and <strong>Company</strong>, calculates total amounts, then transposes years into columns to show two rows: one displaying company names and one showing amounts in currency format.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridCrossTabData">
    <DataGridCrossTabData />
</RadzenExample>